package org.lboot.flow.module.event;

import org.lboot.jpa.service.UniService;

import java.util.List;

public interface FlowCustomEventService extends UniService<FlowCustomEvent,String> {
    List<FlowCustomEvent> getByEventId(String eventId);

    List<FlowCustomEvent> getByEventIdIn(List<String> eventIds);


    List<FlowCustomEvent> afterNodeEvents(String flowDefineId, String flowNodeId);


    List<FlowCustomEvent> beforeNodeEvent(String flowDefineId, String flowNodeId);
}
